export default {
  condition: '',
  dialog: false,
  rowVal: [],//表格一行或者多行的数据
  selectedOptions: [],//渠道的配置
  lord: [],
  total: 0,
  btnState: '',//新增编辑按钮
  channelId: '',
  options: [{ label: '是', value: 'Y' }, { label: '否', value: 'N' }],//是否上架
  pagaData: {
    lorid: '',//主渠道id
    sonid: '',//子渠道id
    loading: false,//列表的加载状态
    value: '',//是否上架
    remark: '',//备注
    ordinal: '',//排序
    pageJumpUrl: '',//跳转地址
    pageImgUrl: '',//图片地址
    imgs: '',//编辑返回地址
    bannerId: '',//
    // ****************************
    isShare: '',//是否分享
    shareTitle: '',//分享标题
    shareDesc: '',  //分享描述
    shareImage: '',//	分享图片
    shareUrl: '',//分享链接
    isLogin: ''
  },
  list: {
    thead: [
      { label: '跳转地址', prop: "pageJumpUrl", rowspan: 1 },
      { label: '子渠道', prop: "childChannelId", rowspan: 1 },
      { label: '主渠道', prop: "channelId", rowspan: 1 },
      { label: '是否上架', prop: "isOnline", rowspan: 1 },
      { label: '创建时间', prop: "gmtCreate", rowspan: 1 },
      { label: '更新时间', prop: "gmtUpdate", rowspan: 1 },
    ],
    tbody: []
  },
  typeList: [{ value: '', label: '请选择' }, { value: 'Y', label: '是' }, { value: 'N', label: '否' }],
  type: '',
  fileList2: [],
  fileList: [],
  defaults: {//渠道配置的val
    children: 'childChannelList',
    label: 'channelName',
    value: 'channelCode'
  },
  //分享图片上传
  imgData: {
    base64Str: '',
    id: '',
    fileOriginName: '',
    fileType: ''
  }
}
